package com.xiaoge.system.controller;

import com.xiaoge.response.Result;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;



@Api
@RestController
@RequestMapping(value = "/attachments")
//允许跨域
@CrossOrigin
public class HelloController {
    @ApiOperation(value = "测试hello权限")
    @PostMapping("")
    public Result login(){
        return Result.ok().data("str","111");
    }
}

